{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Char Prediction using LSTM"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere. flare is a teacher in ai industry. He obtained his phd in Australia. Australia is a country in the Southern Hemisphere.  \n"
     ]
    }
   ],
   "source": [
    "raw_data = open('flare').read()\n",
    "# 移除部分字符 '\\n' \n",
    "data = raw_data.replace('\\n', ' ').replace('\\r', '')\n",
    "print(data)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['b', '.', 'i', 'l', 'S', 'o', 'a', 'u', 'f', 'r', 'e', 'n', 's', 't', 'y', 'd', 'h', 'H', ' ', 'c', 'p', 'm', 'A']\n"
     ]
    }
   ],
   "source": [
    "# 删除重复字符并统计输出类别\n",
    "letters = list(set(data))\n",
    "num_letters = len(letters)\n",
    "print(letters)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{0: 'b', 1: '.', 2: 'i', 3: 'l', 4: 'S', 5: 'o', 6: 'a', 7: 'u', 8: 'f', 9: 'r', 10: 'e', 11: 'n', 12: 's', 13: 't', 14: 'y', 15: 'd', 16: 'h', 17: 'H', 18: ' ', 19: 'c', 20: 'p', 21: 'm', 22: 'A'}\n"
     ]
    }
   ],
   "source": [
    "# 建立字符到数字的索引字典\n",
    "char_to_int = dict(zip(letters, [i for i in range(len(letters))]))\n",
    "## 建立数字到字符的索引字典\n",
    "int_to_char = dict(zip([i for i in range(len(letters))],letters))\n",
    "print(int_to_char)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "#滑动窗口提取数据\n",
    "def extract_data(data, slide):    \n",
    "    x = []\n",
    "    y = []    \n",
    "    ## Generating iput texts(characters)\n",
    "    for i in range(len(data) - slide):\n",
    "        x.append([char for char in data[i:i+slide]])\n",
    "        y.append(data[i+slide:i+slide+1])        \n",
    "    return x,y\n",
    "#字符到数字的批量转化\n",
    "def char_to_int_Data(x,y, char_to_int):    \n",
    "    x_to_int = []\n",
    "    y_to_int = []\n",
    "    for i in range(len(x)):\n",
    "        x_to_int.append([char_to_int[char] for char in x[i]])\n",
    "        y_to_int.append([char_to_int[char] for char in y[i]])    \n",
    "    return x_to_int, y_to_int\n",
    "#数字到字符的批量转化\n",
    "def int_to_char_Data(y, int_to_char):    \n",
    "    y_to_char = []\n",
    "    for i in range(len(y)):\n",
    "        y_to_char.append([int_to_char[y[i][0]]])        \n",
    "    return y_to_char\n",
    "#实现输入字符文章的批量处理，输入整个字符、滑动窗口大小、转化字典\n",
    "def data_preprocessing(data, slide, char_to_int):    \n",
    "    char_Data = extract_data(data, slide)\n",
    "    int_Data = char_to_int_Data(char_Data[0], char_Data[1], char_to_int)\n",
    "    Input = int_Data[0]\n",
    "    Output = list(np.array(int_Data[1]).flatten())\n",
    "    Input_RESHAPED = np.array(Input).reshape(len(Input), slide, 1)\n",
    "    return Input_RESHAPED, Output"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "#将输入文本转化为可用于模型训练的数字序列（包含输入序列与输出结果）\n",
    "DATA_SET = data_preprocessing(data, 20, char_to_int)\n",
    "\n",
    "X = DATA_SET[0]\n",
    "y = DATA_SET[1]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(103661, 20, 1)\n"
     ]
    }
   ],
   "source": [
    "print(X.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[[ 3]\n",
      " [ 6]\n",
      " [ 9]\n",
      " [10]\n",
      " [18]\n",
      " [ 2]\n",
      " [12]\n",
      " [18]\n",
      " [ 6]\n",
      " [18]\n",
      " [13]\n",
      " [10]\n",
      " [ 6]\n",
      " [19]\n",
      " [16]\n",
      " [10]\n",
      " [ 9]\n",
      " [18]\n",
      " [ 2]\n",
      " [11]]\n"
     ]
    }
   ],
   "source": [
    "print(X[1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "103681\n"
     ]
    }
   ],
   "source": [
    "print(len(data))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "11\n"
     ]
    }
   ],
   "source": [
    "print(y[0])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'n'"
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data[20]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [],
   "source": [
    "#数据分离\n",
    "from sklearn.model_selection import train_test_split\n",
    "X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.01, random_state=10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 0. 0. 0. 0. 0. 0.]\n"
     ]
    }
   ],
   "source": [
    "# 把输出结果转化为多分类的类别索引数组[0,0,0,..1..0]\n",
    "from keras.utils import to_categorical\n",
    "y_train_category = to_categorical(y_train, num_classes=num_letters)\n",
    "y_test_category = to_categorical(y_test, num_classes=num_letters)\n",
    "print(y_test_category[1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(102624, 20, 1) (102624, 23)\n"
     ]
    }
   ],
   "source": [
    "print(X_train.shape,y_train_category.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[[ 1]\n",
      " [18]\n",
      " [17]\n",
      " [10]\n",
      " [18]\n",
      " [ 5]\n",
      " [ 0]\n",
      " [13]\n",
      " [ 6]\n",
      " [ 2]\n",
      " [11]\n",
      " [10]\n",
      " [15]\n",
      " [18]\n",
      " [16]\n",
      " [ 2]\n",
      " [12]\n",
      " [18]\n",
      " [20]\n",
      " [16]]\n"
     ]
    }
   ],
   "source": [
    "print(X_train[1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 建立一个两个隐藏层的lstm\n",
    "from keras.models import Sequential\n",
    "from keras.layers import LSTM,Dense\n",
    "\n",
    "## Sequential one by one\n",
    "model = Sequential()\n",
    "\n",
    "## LSTM Layer 1: Consists of 256 Neurons. To connect with the second layer of LSTM, return_sequences = True\n",
    "model.add(LSTM(64, input_shape=(X_train.shape[1], X_train.shape[2]), return_sequences=True))\n",
    "## LSTM Layer 2: Consists of 256 Neurons in one RNN Layer \n",
    "model.add(LSTM(128))\n",
    "model.add(Dense(num_letters, activation=\"sigmoid\"))\n",
    "\n",
    "## Compiling Model\n",
    "model.compile(loss=\"categorical_crossentropy\", optimizer=\"adam\", metrics=[\"accuracy\"])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 建立一个两个隐藏层的lstm\n",
    "from keras.models import Sequential\n",
    "from keras.layers import LSTM,Dense\n",
    "\n",
    "## Sequential one by one\n",
    "model = Sequential()\n",
    "model.add(LSTM(128, input_shape=(X_train.shape[1], X_train.shape[2])))\n",
    "model.add(Dense(num_letters, activation='softmax')) #输出用一个softmax，来分类，维度就是26，预测是哪一个字母\n",
    " \n",
    "model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy'])\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch 1/3\n",
      "102624/102624 [==============================] - 34s 335us/step - loss: 2.5252 - accuracy: 0.2397\n",
      "Epoch 2/3\n",
      "102624/102624 [==============================] - 37s 357us/step - loss: 1.2431 - accuracy: 0.6653\n",
      "Epoch 3/3\n",
      "102624/102624 [==============================] - 39s 376us/step - loss: 0.2635 - accuracy: 0.9918\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "<keras.callbacks.callbacks.History at 0x1b220fc96a0>"
      ]
     },
     "execution_count": 40,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "## Fitting Model \n",
    "model.fit(X_train, y_train_category, batch_size=1000, epochs=3)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[22 16 22 ... 13 13 13] [22, 16, 22, 9, 13, 11, 11, 18, 10, 17, 16, 18, 2, 2, 6, 12, 9, 15, 18, 19, 13, 18, 1, 10, 1, 5, 6, 17, 2, 13, 10, 14, 17, 6, 16, 20, 18, 9, 6, 5, 5, 6, 1, 13, 2, 10, 18, 0, 10, 2, 17, 13, 2, 6, 5, 18, 2, 11, 18, 2, 11, 18, 16, 2, 9, 18, 1, 11, 6, 18, 2, 13, 12, 5, 14, 10, 19, 13, 9, 13, 18, 13, 13, 11, 22, 4, 16, 18, 20, 11, 19, 18, 5, 10, 18, 10, 5, 5, 18, 18, 13, 12, 7, 17, 10, 19, 18, 16, 11, 16, 22, 10, 12, 9, 15, 2, 10, 16, 2, 18, 11, 13, 8, 13, 18, 2, 10, 19, 10, 14, 12, 13, 18, 13, 15, 16, 18, 6, 16, 2, 2, 11, 18, 18, 2, 13, 10, 2, 9, 12, 10, 18, 11, 16, 11, 5, 12, 12, 10, 1, 6, 16, 7, 2, 18, 10, 13, 5, 11, 9, 13, 11, 11, 11, 14, 15, 11, 4, 18, 7, 10, 2, 6, 18, 6, 7, 2, 15, 6, 12, 10, 3, 10, 16, 11, 18, 7, 7, 2, 0, 17, 19, 7, 12, 18, 5, 15, 6, 10, 15, 10, 18, 13, 3, 14, 9, 16, 17, 2, 10, 19, 10, 16, 9, 18, 10, 6, 15, 5, 2, 22, 18, 17, 12, 3, 6, 18, 10, 13, 16, 6, 2, 2, 15, 2, 5, 2, 18, 2, 6, 9, 1, 11, 12, 6, 13, 10, 9, 6, 10, 17, 18, 5, 9, 9, 10, 7, 18, 17, 6, 16, 10, 18, 18, 10, 13, 1, 19, 18, 10, 2, 4, 18, 13, 16, 13, 10, 12, 15, 18, 6, 22, 21, 18, 2, 10, 3, 11, 11, 9, 6, 9, 10, 6, 20, 9, 13, 9, 16, 13, 7, 18, 6, 13, 18, 18, 2, 16, 20, 17, 18, 6, 11, 9, 18, 3, 19, 13, 12, 12, 18, 18, 10, 11, 7, 4, 14, 12, 7, 6, 2, 11, 19, 11, 18, 18, 9, 6, 11, 9, 13, 18, 18, 12, 2, 11, 6, 10, 18, 18, 18, 9, 18, 18, 9, 3, 9, 15, 19, 18, 17, 7, 14, 22, 2, 13, 18, 1, 2, 18, 10, 19, 2, 13, 16, 6, 19, 6, 10, 18, 13, 18, 9, 13, 12, 13, 2, 7, 18, 18, 9, 11, 6, 8, 2, 2, 14, 22, 6, 6, 10, 2, 10, 10, 10, 6, 2, 18, 6, 20, 3, 6, 18, 18, 15, 9, 13, 9, 9, 7, 3, 18, 18, 3, 18, 2, 15, 18, 10, 4, 2, 9, 4, 2, 12, 13, 12, 13, 6, 9, 2, 13, 15, 15, 9, 1, 10, 9, 16, 18, 10, 4, 16, 11, 16, 18, 1, 18, 11, 11, 11, 4, 17, 13, 12, 5, 7, 18, 2, 13, 11, 2, 13, 13, 18, 6, 19, 7, 17, 10, 13, 18, 2, 2, 10, 15, 13, 10, 18, 16, 16, 7, 10, 2, 12, 9, 19, 2, 3, 12, 10, 14, 11, 3, 8, 12, 3, 9, 2, 2, 2, 18, 2, 18, 18, 11, 2, 16, 21, 4, 6, 16, 9, 6, 9, 6, 11, 18, 7, 12, 5, 18, 18, 16, 6, 15, 18, 2, 18, 6, 9, 3, 15, 12, 3, 12, 9, 10, 7, 6, 18, 13, 18, 18, 18, 11, 10, 18, 3, 7, 16, 6, 10, 9, 15, 2, 3, 5, 5, 18, 18, 11, 13, 13, 1, 9, 10, 19, 2, 12, 18, 2, 18, 2, 6, 2, 2, 18, 8, 18, 9, 2, 10, 14, 2, 10, 6, 8, 0, 2, 6, 9, 18, 10, 6, 10, 16, 6, 5, 7, 13, 2, 13, 18, 2, 11, 6, 20, 20, 18, 9, 11, 15, 12, 2, 7, 18, 11, 0, 1, 19, 11, 18, 1, 18, 13, 11, 2, 11, 18, 6, 10, 9, 6, 9, 18, 13, 22, 14, 9, 18, 11, 10, 18, 18, 2, 9, 2, 6, 2, 12, 10, 18, 16, 18, 12, 18, 2, 17, 18, 18, 10, 11, 18, 2, 22, 11, 14, 18, 6, 18, 9, 10, 18, 22, 5, 11, 10, 12, 11, 6, 18, 18, 10, 11, 5, 11, 6, 11, 9, 6, 13, 20, 13, 6, 8, 20, 18, 18, 12, 7, 2, 22, 12, 15, 20, 22, 2, 6, 18, 16, 2, 10, 12, 12, 10, 6, 10, 19, 9, 6, 12, 2, 2, 13, 13, 16, 18, 12, 7, 18, 11, 13, 2, 12, 18, 11, 5, 5, 18, 13, 6, 16, 11, 4, 1, 10, 15, 15, 7, 17, 12, 12, 22, 15, 18, 18, 4, 18, 0, 13, 18, 6, 2, 13, 18, 10, 5, 16, 14, 11, 18, 16, 18, 18, 15, 10, 20, 13, 10, 11, 0, 18, 7, 2, 11, 13, 19, 9, 1, 6, 11, 13, 3, 10, 1, 6, 4, 1, 18, 2, 2, 13, 2, 10, 2, 3, 15, 2, 19, 2, 7, 17, 9, 18, 9, 16, 21, 9, 13, 3, 7, 10, 19, 18, 10, 18, 2, 10, 16, 2, 7, 2, 9, 18, 0, 13, 2, 16, 2, 18, 2, 18, 2, 3, 12, 18, 2, 10, 16, 18, 18, 13, 13, 21, 13, 18, 7, 18, 2, 10, 16, 6, 13, 18, 11, 12, 18, 10, 5, 6, 18, 10, 2, 18, 6, 11, 6, 18, 9, 9, 15, 22, 16, 18, 11, 2, 18, 2, 5, 2, 3, 18, 16, 10, 1, 2, 2, 1, 14, 2, 2, 12, 6, 3, 18, 14, 18, 13, 2, 16, 2, 6, 16, 10, 6, 7, 18, 12, 11, 7, 11, 16, 22, 10, 13, 18, 5, 2, 9, 18, 12, 17, 11, 9, 7, 12, 13, 9, 18, 13, 5, 17, 13, 18, 2, 0, 2, 2, 2, 18, 11, 2, 10, 10, 9, 6, 15, 11, 16, 18, 12, 18, 9, 18, 2, 5, 16, 6, 6, 9, 16, 13, 16, 18, 9, 5, 15, 1, 11, 22, 2, 18, 11, 3, 10, 15, 2, 5, 20, 9, 18, 13, 3, 6, 1, 2, 11, 22, 13, 13, 2, 18, 14, 13, 9, 8, 1, 11, 1, 6, 2, 6, 5, 13, 13, 13]\n"
     ]
    }
   ],
   "source": [
    "y_test_predict = model.predict_classes(X_test)\n",
    "print(y_test_predict,y_test)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1.0\n"
     ]
    }
   ],
   "source": [
    "from sklearn.metrics import accuracy_score\n",
    "accuracy_test = accuracy_score(y_test,y_test_predict)\n",
    "print(accuracy_test)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[['f', 'l', 'a', 'r', 'e', ' ', 'i', 's', ' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i'], ['l', 'a', 'r', 'e', ' ', 'i', 's', ' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n'], ['a', 'r', 'e', ' ', 'i', 's', ' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' '], ['r', 'e', ' ', 'i', 's', ' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a'], ['e', ' ', 'i', 's', ' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i'], [' ', 'i', 's', ' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' '], ['i', 's', ' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i'], ['s', ' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n'], [' ', 'a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd'], ['a', ' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u'], [' ', 't', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's'], ['t', 'e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't'], ['e', 'a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r'], ['a', 'c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y'], ['c', 'h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.'], ['h', 'e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' '], ['e', 'r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H'], ['r', ' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e'], [' ', 'i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' '], ['i', 'n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o'], ['n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b'], [' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't'], ['a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a'], ['i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i'], [' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n'], ['i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e'], ['n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd'], ['d', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' '], ['u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h'], ['s', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i'], ['t', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i', 's'], ['r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i', 's', ' '], ['y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i', 's', ' ', 'p'], ['.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i', 's', ' ', 'p', 'h'], [' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i', 's', ' ', 'p', 'h', 'd'], ['H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i', 's', ' ', 'p', 'h', 'd', ' ']] ['n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i', 's', ' ', 'p', 'h', 'd', ' ', 'i']\n"
     ]
    }
   ],
   "source": [
    "new_input = \"flare is a teacher in ai industry. He obtained his phd i\"\n",
    "new_X_char,new_y_char = extract_data(new_input, 20)\n",
    "print(new_X_char,new_y_char)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[[[ 8]\n",
      "  [ 3]\n",
      "  [ 6]\n",
      "  [ 9]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]]\n",
      "\n",
      " [[ 3]\n",
      "  [ 6]\n",
      "  [ 9]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]]\n",
      "\n",
      " [[ 6]\n",
      "  [ 9]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]]\n",
      "\n",
      " [[ 9]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]]\n",
      "\n",
      " [[10]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]]\n",
      "\n",
      " [[18]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]]\n",
      "\n",
      " [[ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]]\n",
      "\n",
      " [[12]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]]\n",
      "\n",
      " [[18]\n",
      "  [ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]]\n",
      "\n",
      " [[ 6]\n",
      "  [18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]]\n",
      "\n",
      " [[18]\n",
      "  [13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]]\n",
      "\n",
      " [[13]\n",
      "  [10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]]\n",
      "\n",
      " [[10]\n",
      "  [ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]]\n",
      "\n",
      " [[ 6]\n",
      "  [19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]]\n",
      "\n",
      " [[19]\n",
      "  [16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]]\n",
      "\n",
      " [[16]\n",
      "  [10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]]\n",
      "\n",
      " [[10]\n",
      "  [ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]]\n",
      "\n",
      " [[ 9]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]]\n",
      "\n",
      " [[18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]]\n",
      "\n",
      " [[ 2]\n",
      "  [11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]]\n",
      "\n",
      " [[11]\n",
      "  [18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]]\n",
      "\n",
      " [[18]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]]\n",
      "\n",
      " [[ 6]\n",
      "  [ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]]\n",
      "\n",
      " [[ 2]\n",
      "  [18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]]\n",
      "\n",
      " [[18]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]]\n",
      "\n",
      " [[ 2]\n",
      "  [11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]]\n",
      "\n",
      " [[11]\n",
      "  [15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]]\n",
      "\n",
      " [[15]\n",
      "  [ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]]\n",
      "\n",
      " [[ 7]\n",
      "  [12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]\n",
      "  [16]]\n",
      "\n",
      " [[12]\n",
      "  [13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]\n",
      "  [16]\n",
      "  [ 2]]\n",
      "\n",
      " [[13]\n",
      "  [ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]\n",
      "  [16]\n",
      "  [ 2]\n",
      "  [12]]\n",
      "\n",
      " [[ 9]\n",
      "  [14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]\n",
      "  [16]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]]\n",
      "\n",
      " [[14]\n",
      "  [ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]\n",
      "  [16]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [20]]\n",
      "\n",
      " [[ 1]\n",
      "  [18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]\n",
      "  [16]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [20]\n",
      "  [16]]\n",
      "\n",
      " [[18]\n",
      "  [17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]\n",
      "  [16]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [20]\n",
      "  [16]\n",
      "  [15]]\n",
      "\n",
      " [[17]\n",
      "  [10]\n",
      "  [18]\n",
      "  [ 5]\n",
      "  [ 0]\n",
      "  [13]\n",
      "  [ 6]\n",
      "  [ 2]\n",
      "  [11]\n",
      "  [10]\n",
      "  [15]\n",
      "  [18]\n",
      "  [16]\n",
      "  [ 2]\n",
      "  [12]\n",
      "  [18]\n",
      "  [20]\n",
      "  [16]\n",
      "  [15]\n",
      "  [18]]] (36, 20, 1)\n"
     ]
    }
   ],
   "source": [
    "new_input_int = data_preprocessing(new_input, 20, char_to_int)\n",
    "X_new = new_input_int[0]\n",
    "print(X_new,X_new.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[11 18  6  2 18  2 11 15  7 12 13  9 14  1 18 17 10 18  5  0 13  6  2 11\n",
      " 10 15 18 16  2 12 18 20 16 15 18  2]\n"
     ]
    }
   ],
   "source": [
    "y_new_predict = model.predict_classes(X_new)\n",
    "print(y_new_predict)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['n', ' ', 'a', 'i', ' ', 'i', 'n', 'd', 'u', 's', 't', 'r', 'y', '.', ' ', 'H', 'e', ' ', 'o', 'b', 't', 'a', 'i', 'n', 'e', 'd', ' ', 'h', 'i', 's', ' ', 'p', 'h', 'd', ' ', 'i']\n"
     ]
    }
   ],
   "source": [
    "y_new_predict_char = [int_to_char[i] for i in y_new_predict]\n",
    "print(y_new_predict_char)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {},
   "outputs": [],
   "source": [
    "output = ''\n",
    "\n",
    "for i in y_new_predict:\n",
    "    output = output+ int_to_char[i]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "flare is a teacher in ai industry. He obtained his phd i\n"
     ]
    }
   ],
   "source": [
    "print(new_input)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "111111111111111111 n ai industry. He obtained his phd i\n"
     ]
    }
   ],
   "source": [
    "print('111111111111111111',output)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.10"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
